﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.ServiceModel;
using TaskKernel.Domain;

namespace WebTaskService
{
    [ServiceContract]
    public interface IWebTaskService : IDisposable
    {
        [OperationContract]
        IEnumerable<Department> GetDepartments();

        [OperationContract]
        string GetTaskWebReferenceById(Guid taskID);

        [OperationContract]
        Guid CreateTaskInDepartment(string loginName, Guid departmentID, string taskName, string historyEntry);
    }

  
}